package client;
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class ComSaleGUI extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ComSaleGUI frame = new ComSaleGUI();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public ComSaleGUI() {
		setTitle("Sell House");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnNewButton = new JButton("\u9AD8\u7EA7\u623F\uFF08\u4E09\u5BA4\u4E24\u5385\uFF09");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
				ComLoadGUI frame = new ComLoadGUI();
				frame.setVisible(true);
			}
		});
		btnNewButton.setBounds(74, 23, 194, 33);
		contentPane.add(btnNewButton);
		
		JButton button = new JButton("\u4E2D\u7EA7\u7EA7\u623F\uFF08\u4E09\u5BA4\u4E00\u5385\uFF09");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
				ComLoadGUI frame = new ComLoadGUI();
				frame.setVisible(true);
			}
		});
		button.setBounds(74, 94, 194, 33);
		contentPane.add(button);
		
		JButton button_1 = new JButton("\u4F4E\u7EA7\u623F\uFF08\u4E24\u5BA4\u4E00\u5385\uFF09");
		button_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
				ComLoadGUI frame = new ComLoadGUI();
				frame.setVisible(true);
			}
		});
		button_1.setBounds(74, 165, 194, 33);
		contentPane.add(button_1);
		
		JButton btnNewButton_1 = new JButton("\u8FD4\u56DE");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
				ComLoadGUI frame = new ComLoadGUI();
				frame.setVisible(true);
			}
		});
		btnNewButton_1.setBounds(319, 221, 93, 23);
		contentPane.add(btnNewButton_1);
	}

}
